package jmine.tec.hydra.script;

import jmine.tec.hydra.api.HydraMessage;
import jmine.tec.hydra.script.impl.DispatchResult;
import jmine.tec.script.persistent.context.UserExecutionContext;

/**
 * Interface para contextos de dispatch
 * 
 * @author jrenaut
 */
public interface DispatchScriptContext extends UserExecutionContext<DispatchResult> {

    /**
     * @param message a mensagem que deve ser enviada ao sistema associado
     * @return {@link DispatchScriptContext}
     */
    DispatchScriptContext prepare(HydraMessage message);

}
